<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Step 3: Configuring the Application-Consistent Backup Script">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001839266973.html">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001839266961.html">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001792387980.html">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001839266957.html">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001792387956.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
<meta name="DC.Publisher" content="20240608">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000001839267033">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Step 3: Configuring the Application-Consistent Backup Script</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000001839267033"></a><a name="EN-US_TOPIC_0000001839267033"></a>

<h1 class="topictitle1">Step 3: Configuring the Application-Consistent Backup Script</h1>
<div><p>If the VMware VM runs on a non-Windows OS, you need to configure the pre- and post-processing scripts for application consistency backup on the protected VM before performing application consistency backup. In non-application-consistent backup scenarios, skip this section.</p>
<p>This section describes how to configure the application consistency backup scripts in the assumption that some database applications run on a VMware VM.</p>

<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Application-consistent backup scripts</caption><colgroup><col style="width:21.23%"><col style="width:22.79%"><col style="width:30.98%"><col style="width:25%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="21.23%" id="mcps1.3.3.2.5.1.1"><p>Script</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.79%" id="mcps1.3.3.2.5.1.2"><p>Database Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30.98%" id="mcps1.3.3.2.5.1.3"><p>Operation</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.5.1.4"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="21.23%" headers="mcps1.3.3.2.5.1.1 "><ul><li><a href="en-us_topic_0000001839266961.html#EN-US_TOPIC_0000001839266961__section1442193318556">pre-freeze-script</a></li><li><a href="en-us_topic_0000001839266961.html#EN-US_TOPIC_0000001839266961__section3346141395616">post-thaw-script</a></li></ul>
</td>
<td class="cellrowborder" valign="top" width="22.79%" headers="mcps1.3.3.2.5.1.2 "><p>DB2 database</p>
</td>
<td class="cellrowborder" rowspan="4" valign="top" width="30.98%" headers="mcps1.3.3.2.5.1.3 "><ol><li>Log in to the protected VMware VM.</li><li>Check whether the corresponding script exists in the <span class="filepath"><b>/usr/sbin/</b></span> directory.<ul><li>If no, create the script and configure the script by referring to the following sections.</li><li>If yes, check whether the script content is correct by referring to the following sections.</li></ul>
</li></ol>
</td>
<td class="cellrowborder" rowspan="4" valign="top" width="25%" headers="mcps1.3.3.2.5.1.4 "><p>Before performing an application consistency backup and creating a consistency snapshot, the system invokes the <strong>pre-freeze-script</strong> script to quiesce database I/Os to ensure data consistency. After a consistency snapshot is created, the system invokes the <strong>post-thaw-script</strong> script to unquiesce database I/Os.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><ul><li><a href="en-us_topic_0000001792387980.html#EN-US_TOPIC_0000001792387980__section4543102195920">pre-freeze-script</a></li><li><a href="en-us_topic_0000001792387980.html#EN-US_TOPIC_0000001792387980__section655719346595">post-thaw-script</a></li></ul>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p>Oracle database</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><ul><li><a href="en-us_topic_0000001839266957.html#EN-US_TOPIC_0000001839266957__section4543102195920">pre-freeze-script</a></li><li><a href="en-us_topic_0000001839266957.html#EN-US_TOPIC_0000001839266957__section655719346595">post-thaw-script</a></li></ul>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p>Sybase database</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><ul><li><a href="en-us_topic_0000001792387956.html#EN-US_TOPIC_0000001792387956__section136297539915">pre-freeze-script</a></li><li><a href="en-us_topic_0000001792387956.html#EN-US_TOPIC_0000001792387956__section136695016107">post-thaw-script</a></li></ul>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p>MySQL database</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="en-us_topic_0000001839266961.html">DB2 Database</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0000001792387980.html">Oracle Database</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0000001839266957.html">Sybase Database</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0000001792387956.html">MySQL Database</a></strong><br>
</li>
</ul>

<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000001839266973.html">Backing Up a VMware VM</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>